//
//  PrivateKeyViewController.m
//  xxShare
//
//  Created by 柳麟喆 on 2018/3/14.
//  Copyright © 2018年 lzLiu. All rights reserved.
//

#import "PrivateKeyViewController.h"
#import "PrivateKeyView.h"

@interface PrivateKeyViewController ()

@end

@implementation PrivateKeyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"密钥";
    self.view.backgroundColor = BACKGROUND_COLOR;
    
    PrivateKeyView *accountNormal = [[PrivateKeyView alloc]initWithFrame:CGRectMake(0, 64 + 3, SCREEN_WIDTH, 130)];
    accountNormal.title.text = @"账户公钥";
    accountNormal.key.text = @"UU524KJASHDKUAWJSKDHADAS";
    accountNormal.layer.shadowColor = [UIColor blackColor].CGColor;
    accountNormal.layer.shadowOpacity = 1;
    accountNormal.layer.shadowOffset = CGSizeMake(0, 3);
    
    PrivateKeyView *walletNormal = [[PrivateKeyView alloc]initWithFrame:CGRectMake(0, accountNormal.llz_bottom + 10, SCREEN_WIDTH, 130)];
    walletNormal.title.text = @"钱包公钥";
    walletNormal.key.text = @"UU343JSKDHADASKJASHDKUAW";
    walletNormal.layer.shadowColor = [UIColor blackColor].CGColor;
    walletNormal.layer.shadowOpacity = 1;
    walletNormal.layer.shadowOffset = CGSizeMake(0, 3);
    
    PrivateKeyView *account = [[PrivateKeyView alloc]initWithFrame:CGRectMake(0, walletNormal.llz_bottom + 10, SCREEN_WIDTH, 130)];
    account.title.text = @"账户私钥";
    account.key.text = @"13RF4KJASHDKUAWJSKDHADAS";
    account.layer.shadowColor = [UIColor blackColor].CGColor;
    account.layer.shadowOpacity = 1;
    account.layer.shadowOffset = CGSizeMake(0, 3);
    
    PrivateKeyView *wallet = [[PrivateKeyView alloc]initWithFrame:CGRectMake(0, account.llz_bottom + 10, SCREEN_WIDTH, 130)];
    wallet.title.text = @"钱包私钥";
    wallet.key.text = @"3124FJSKDHADASKJASHDKUAW";
    wallet.layer.shadowColor = [UIColor blackColor].CGColor;
    wallet.layer.shadowOpacity = 1;
    wallet.layer.shadowOffset = CGSizeMake(0, 3);
    
    
    [self.view addSubview:accountNormal];
    [self.view addSubview:walletNormal];
    [self.view addSubview:account];
    [self.view addSubview:wallet];
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
